package com.example.demo02.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo02.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

/**
 * (Orders)表数据库访问层
 *
 * @author makejava
 * @since 2024-09-01 20:15:25
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {
    @Options(useGeneratedKeys = true, keyProperty = "order_id")
    int insert(Orders orders);
}

